#ifndef WIFI_BOARD_H
#define WIFI_BOARD_H

#include "board.h"

class WifiBoard : public Board {
protected:
    // WIFI连接标识
    bool wifi_config_mode_ = false;
public:
    // 构造函数（检测Wi-Fi连接状态）
    WifiBoard();
    // wifi配网模式
    void EnterWifiConfigMode();

    virtual void StartNetwork() override;
    virtual WebSocket* CreateWebSocket(std::string url) override;
    virtual bool GetNetworkState(std::string& network_name, int& signal_quality, std::string& signal_quality_text) override;
    virtual void ResetWifiConfiguration();
    virtual std::string GetBoardJson() override;
};

#endif // WIFI_BOARD_H

